A5WS_LockOutUserSet Function
Syntax
Result_Flag as L = a5ws_LockOutUserSet(C UserValue [,* UntilTime [,* NotUsed ]])
Arguments
- Result_Flag
.T. = The lock out was set. .F. = The lock out was not set.
- UserValue
A user value to be temporarily disabled.
- UntilTime
Optional. Default = user is locked out indefinitely. A time value in the future, when the user ID will be enabled.
- NotUsed
*
Description
Web Security - Lockout the User Value until the set time / date. If 'UntilTime' is not entered, the User Value is locked out indefinitely until manually released
Discussion
The A5WS_LockOutUserSet() function locks out a user value for a specified amount of time.
Example
This example locks out the user with the user id of "[email protected]" until Jan 1, 2007 at 10:00 pm.
dim ut as T ut = ctodt("01/01/2007 10:00:00 00 pm") a5ws_LockOutUserSet("[email protected]", ut)
Limitations
Web publishing applications only.
See Also